Command
- install command line tool
npm i -g @nestjs/cli
- create a new project
nest new your-project-name
- create a controller
nest g controller your-name
- difference between
--watch
&--debug
npm i -g @nestjs/cli
nest new your-project-name
nest g controller your-name
--watch
& --debug